Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix BazelTestRunner compatibility with jre8 #18307

Closed
wants to merge 1 commit into from

Conversation

hvadehra
Copy link
Member

@hvadehra hvadehra commented May 4, 2023

Removes usages of Set.of() that were introduced in javase9

Fixes #18300

Removes usages of Set.of() that were introduced in javase9
@hvadehra hvadehra requested a review from meteorcloudy May 4, 2023 08:38
@hvadehra hvadehra marked this pull request as ready for review May 4, 2023 08:38
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Rules-Java Issues for Java rules labels May 4, 2023
@meteorcloudy
Copy link
Member

We probably need another java_tools release for this, right? /cc @keertk

@meteorcloudy
Copy link
Member

@bazel-io fork 6.2.0

@hvadehra
Copy link
Member Author

hvadehra commented May 4, 2023

We probably need another java_tools release for this, right?

Yes. Also, if we wish to keep supporting jre8, surely we should keep it in our CI as well?

@meteorcloudy
Copy link
Member

@hvadehra You can use shell_commands to install jre8 in case you want to set up some minimal tests for this.

@hvadehra hvadehra added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels May 4, 2023
@copybara-service copybara-service bot closed this in 275c8bd May 4, 2023
@Pavank1992 Pavank1992 removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label May 4, 2023
@keertk
Copy link
Member

keertk commented May 4, 2023

@hvadehra can you help with this cherry-pick please? JUnit4Bazel.java doesn't exist in release-6.2.0, so perhaps other changes are needed first?

@hvadehra
Copy link
Member Author

hvadehra commented May 4, 2023

@keertk I don't think the intention is to cherry pick this change. We want to release java_tools with it, and then cherry pick that.

@keertk
Copy link
Member

keertk commented May 4, 2023

Ok, got it

@hvadehra hvadehra deleted the testrunner_fix_for_jre8 branch May 4, 2023 11:58
@keertk keertk mentioned this pull request May 4, 2023
copybara-service bot pushed a commit that referenced this pull request May 5, 2023
#18307 (comment)

bazelbuild/java_tools#71

Closes #18314.

PiperOrigin-RevId: 529665382
Change-Id: Iba616a0b705a20dcb5e28d06f431b0a79801d769
fweikert pushed a commit to fweikert/bazel that referenced this pull request May 25, 2023
Removes usages of Set.of() that were introduced in javase9

Fixes bazelbuild#18300

Closes bazelbuild#18307.

PiperOrigin-RevId: 529369593
Change-Id: Id45afbb1bdee46910f4a9b632f479773c561c0a3
fweikert pushed a commit to fweikert/bazel that referenced this pull request May 25, 2023
bazelbuild#18307 (comment)

bazelbuild/java_tools#71

Closes bazelbuild#18314.

PiperOrigin-RevId: 529665382
Change-Id: Iba616a0b705a20dcb5e28d06f431b0a79801d769
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Rules-Java Issues for Java rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rules_kotlin fails with Bazel@head on ubuntu
4 participants